package com.matrix.api.user.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @author 有点甜
 * @since 2025/8/10
 */
@Data
public class SmsMfaLoginDTO {
    @NotBlank(message = "临时凭证不能为空")
    private String tempToken;

    @NotBlank(message = "验证码不能为空")
    @Size(min = 6, max = 6, message = "验证码长度必须为6位")
    private String code;
}
